package com.guang.testspringmybatis.mapper;

import com.guang.testspringmybatis.pojo.ReviewContent;
import com.guang.testspringmybatis.pojo.ReviewContentExample;
import com.guang.testspringmybatis.pojo.ReviewContentKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReviewContentMapper {
    long countByExample(ReviewContentExample example);

    int deleteByExample(ReviewContentExample example);

    int deleteByPrimaryKey(ReviewContentKey key);

    int insert(ReviewContent record);

    int insertSelective(ReviewContent record);

    List<ReviewContent> selectByExampleWithBLOBs(ReviewContentExample example);

    List<ReviewContent> selectByExample(ReviewContentExample example);

    ReviewContent selectByPrimaryKey(ReviewContentKey key);

    int updateByExampleSelective(@Param("record") ReviewContent record, @Param("example") ReviewContentExample example);

    int updateByExampleWithBLOBs(@Param("record") ReviewContent record, @Param("example") ReviewContentExample example);

    int updateByExample(@Param("record") ReviewContent record, @Param("example") ReviewContentExample example);

    int updateByPrimaryKeySelective(ReviewContent record);

    int updateByPrimaryKeyWithBLOBs(ReviewContent record);

    int updateByPrimaryKey(ReviewContent record);
}